using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WPCoco.Tasks
{
    public class EaseInFunction : EaseFunction
    {
        public EaseInFunction(float rate)
        {
            this.rate = rate;
        }

        readonly float rate;

        public override float Evaluate(float time)
        {
            return (float)Math.Pow(time, rate);
        }
    }
}
